package com.chenfan.process.biz;

import com.chenfan.process.entity.dto.ApprovalDataTransferDTO;
import com.chenfan.process.entity.dto.RefreshDataDTO;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @author liuming
 * @date 2021/10/18
 */
public interface ApprovalTransferBiz {
    void approvalDataTransfer(ApprovalDataTransferDTO data) throws InterruptedException, ExecutionException;

    void initData(List<Long> approvalTemplateIdList) throws ExecutionException, InterruptedException;

    void incrementData(RefreshDataDTO refreshData) throws InterruptedException, ExecutionException;
}
